
class vehicle(object):

    def __init__(self):
        print("-------vehicle-------")
        super().__init__()

class car(vehicle):

    def __init__(self):
        print("--------car--------")
        super().__init__()

class bicycle(vehicle):

    def __init__(self):
        print("--------bicycle--------")
        super().__init__()

class motocycle(car,bicycle):

    def __init__(self):
        print("--------motocycle--------")
        # super(bicycle,self).__init__()
        super().__init__()

moto = motocycle()
print(motocycle.__mro__)
bike = bicycle()
print(bicycle.__mro__)

